package com.yyw.gulimall.product.dto;

import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品满减信息 DTO
 *
 * @author yiyw
 * @date 2020-10-24 12:13:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode
public class SkuFullReductionDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * spu_id
     */
    private Long skuId;
    /**
     * 满多少
     */
    private BigDecimal fullPrice;
    /**
     * 减多少
     */
    private BigDecimal reducePrice;
    /**
     * 是否参与其他优惠
     */
    private Integer addOther;
    /**
     * 折后价
     */
    private BigDecimal price;

}
